﻿namespace UDS.Components
{
    /// <summary>
    /// 联系人结构
    /// </summary>
    public class Linkman
    {
        private string address = "";
        private string description = "";
        private string email = "";
        private string family = "";
        private bool gender = true;
        private string mobile = "";
        private string name = "";
        private string position = "";
        private string telephone = "";

        /// <summary>
        /// 联系人id
        /// </summary>
        public int ID
        {
            get;
            set;
        }

        /// <summary>
        /// 联系人名字
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        /// <summary>
        /// 客户ID
        /// </summary>
        public int ClientID
        {
            get;
            set;
        }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        /// <summary>
        /// 电话
        /// </summary>
        public string Telephone
        {
            get { return telephone; }
            set { telephone = value; }
        }

        /// <summary>
        /// 职位
        /// </summary>
        public string Position
        {
            get { return position; }
            set { position = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender
        {
            get { return gender; }
            set { gender = value; }
        }

        /// <summary>
        /// 本人说明
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        /// <summary>
        /// 子女情况
        /// </summary>
        public string Family
        {
            get { return family; }
            set { family = value; }
        }

        /// <summary>
        /// 家庭住址
        /// </summary>
        public string Address
        {
            get { return address; }
            set { address = value; }
        }
    }
}